package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 事件详细信息对象 event_details
 * 
 * @author ruoyi
 * @date 2024-06-27
 */
public class EventDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 事件ID（主键，自增） */
    @Excel(name = "事件ID", readConverterExp = "主=键，自增")
    private Long eventId;

    /** 事件名称 */
    @Excel(name = "事件名称")
    private String eventName;

    /** 事件时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "事件时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date eventTime;

    /** 事件地点 */
    @Excel(name = "事件地点")
    private String eventLocation;

    /** 参与人物（可以用逗号分隔多个） */
    @Excel(name = "参与人物", readConverterExp = "可=以用逗号分隔多个")
    private String eventParticipants;

    /** 活动类型 */
    @Excel(name = "活动类型")
    private String eventType;

    public void setEventId(Long eventId) 
    {
        this.eventId = eventId;
    }

    public Long getEventId() 
    {
        return eventId;
    }
    public void setEventName(String eventName) 
    {
        this.eventName = eventName;
    }

    public String getEventName() 
    {
        return eventName;
    }
    public void setEventTime(Date eventTime) 
    {
        this.eventTime = eventTime;
    }

    public Date getEventTime() 
    {
        return eventTime;
    }
    public void setEventLocation(String eventLocation) 
    {
        this.eventLocation = eventLocation;
    }

    public String getEventLocation() 
    {
        return eventLocation;
    }
    public void setEventParticipants(String eventParticipants) 
    {
        this.eventParticipants = eventParticipants;
    }

    public String getEventParticipants() 
    {
        return eventParticipants;
    }
    public void setEventType(String eventType) 
    {
        this.eventType = eventType;
    }

    public String getEventType() 
    {
        return eventType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("eventId", getEventId())
            .append("eventName", getEventName())
            .append("eventTime", getEventTime())
            .append("eventLocation", getEventLocation())
            .append("eventParticipants", getEventParticipants())
            .append("eventType", getEventType())
            .toString();
    }
}
